/**
 * 
 */
package org.soft.game.engine.interfaces;



/**
 * @author gag
 *
 */
public abstract class AbstractItem implements IItem{

	protected int x;
	
	protected int y;
	
	protected int z;
	
	protected Folder myFolder;
	
	/**
	 * set the folder of this
	 * @param folder
	 */
	public void setFolder(Folder folder){
		this.myFolder = folder;
	}
	
	
	
	/**
	 * init the Item to the origin
	 */
	public void init(){
		x = 0;
		y = 0;
		z = 0;
	}

	/**
	 * @return the x
	 */
	public int getX() {
		return x;
	}

	/**
	 * @return the y
	 */
	public int getY() {
		return y;
	}

	/**
	 * @return the z
	 */
	public int getZ() {
		return z;
	}

	/**
	 * @param x the x to set
	 */
	public void setX(int x) {
		this.x = x;
	}

	/**
	 * @param y the y to set
	 */
	public void setY(int y) {
		this.y = y;
	}

	/**
	 * @param z the z to set
	 */
	public void setZ(int z) {
		this.z = z;
	}
	
	
	
	
}
